package net.begincode.biz;

import net.begincode.blog.bean.param.KeyWordsQueryParam;
import net.begincode.blog.bean.vo.HotKeyWord;
import net.begincode.blog.entity.KeyWords;
import net.begincode.page.PageRequest;
import net.begincode.page.PageResponse;

import java.util.List;

public interface KeyWordsBiz {
    PageResponse<KeyWords> queryKeyWords(KeyWordsQueryParam keyWordsQueryParam);

    int addKeyWords(KeyWords keyWords);

    int delKeyWords(long keyWordsId);

    int updateKeyWordsById(KeyWords keyWords);

    KeyWords queryById(Long keyWordId);

    List<HotKeyWord> queryHotKeyWord(Integer limit);
}
